package com.feng.zhongji.controller.test;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

//@Controller
//@ResponseBody
@RestController
public class HelloWorld {
    @RequestMapping("/hello")
    public String hello(){
        return "今天是2021年9月24日，这个是我的zhongji项目的测试。";
    }

    /*@GetMapping("/index")
    public String IndexPage(){
        return "/index.html";
    }*/
}
